<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.ncp.model.entity.index.IntroBean"%>
<%@page import="com.ncp.model.biz.index.IntroManager"%>
<%@ include file="_sessioncheck.jsp" %>
<%
request.setCharacterEncoding("UTF-8");
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
IntroBean ib=new IntroManager().getInfo();
//System.out.println(ib.getContent());
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <script type="text/javascript" src="pages/fckeditor/fckeditor.js"></script>
  </head>
  
  <body>
    <form action="IntroClServlet" method="post" enctype="multipart/form-data">
		展示图片：<input type="file" name="picture" /><br/>
		 内容:<script type="text/javascript">
			var oFCKeditor = new FCKeditor('cont');
			http://localhost:8080/fckeditor
			oFCKeditor.BasePath = "/NCP/pages/fckeditor/";
			oFCKeditor.Width="70%";
			oFCKeditor.Height="500";
			oFCKeditor.Value="编写您的内容...";
			oFCKeditor.ToolbarSet="Basic";
			oFCKeditor.Config["CustomConfigurationsPath"] = "/NCP/pages/fckeditor/myconfig.js"
			oFCKeditor.Create();
		 </script><br/>
		<input type="submit" value="确定"/>
	</form>
  </body>
</html>
